package com.gagakuai.bpm.dao.mapper.camunda;



import com.gagakuai.bpm.domian.entity.camuda.HmilyConfirmLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HmilyConfirmLogMapper {
    int deleteByPrimaryKey(String txNo);

    int insert(HmilyConfirmLog record);

    int insertOrUpdate(HmilyConfirmLog record);

    int insertOrUpdateSelective(HmilyConfirmLog record);

    int insertSelective(HmilyConfirmLog record);

    HmilyConfirmLog selectByPrimaryKey(String txNo);

    int updateByPrimaryKeySelective(HmilyConfirmLog record);

    int updateByPrimaryKey(HmilyConfirmLog record);

    int updateBatch(List<HmilyConfirmLog> list);

    int batchInsert(@Param("list") List<HmilyConfirmLog> list);




    /*
     * 保存Confirm操作事务日志
     */
    int saveConfirmLog(@Param("txNo") String txNo);

    /*
     * 检查是否存在Confirm操作日志，用于幂等
     */
    Integer existsConfirmLog(@Param("txNo") String txNo);
}